﻿using System;
using System.Linq;
using System.Text;
using Model.Base;
using SqlSugar;

namespace Model.Entitys
{
    ///<summary>
    ///订单表
    ///</summary>
    public partial class Orders :BaseId
    {
           public Orders(){


           }
           

           /// <summary>
           /// Desc:订单号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Number {get;set;}

           /// <summary>
           /// Desc:订单状态 1待付款，2待派送，3已派送，4已完成，5已取消
           /// Default:1
           /// Nullable:False
           /// </summary>           
           public int Status {get;set;}

           /// <summary>
           /// Desc:下单用户
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long UserId {get;set;}

           /// <summary>
           /// Desc:地址id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public long AddressBookId {get;set;}

           /// <summary>
           /// Desc:下单时间
           /// Default:
           /// Nullable:False
           /// </summary>           
           public DateTime OrderTime {get;set;}

           /// <summary>
           /// Desc:结账时间
           /// Default:
           /// Nullable:False
           /// </summary>           
           public DateTime CheckoutTime {get;set;}

           /// <summary>
           /// Desc:支付方式 1微信,2支付宝
           /// Default:1
           /// Nullable:False
           /// </summary>           
           public int PayMethod {get;set;}

           /// <summary>
           /// Desc:实收金额
           /// Default:
           /// Nullable:False
           /// </summary>           
           public decimal Amount {get;set;}

           /// <summary>
           /// Desc:备注
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Remark {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Phone {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Address {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string UserName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Consignee {get;set;}

    }
}
